Expand description
API to invoke protoc
command programmatically
API to invoke protoc
command using API (e. g. from build.rs
).
Note that to generate rust
code from .proto
,
protoc-rust crate can be used,
which does not require protoc-gen-rust
present in $PATH
.
Structs
ArgsDeprecated
Protoc --lang_out...
argsProtoc --descriptor_set_out...
argsProtoc command.
protoc --lang_out=... ...
command builder and spawner.Protobuf (protoc) version.
Functions
runDeprecated
Deprecated version of
ProtocLangOut
.